package com.gym.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import com.gym.pojo.Course;

public interface CourseService extends IService<Course>{

    //插入
    //int insert(Course course);
    //修改
    //int update(Course course);
    //删除
    //int delete(Integer courseId);
    //查询所有
    //List<Course> getQueryAll();
    //根据课程名查询
    Course queryBycourseName(@Param("courseName") String courseName);
    //多条件查询
    //Course selectByParams(Course course);
}
